@import '../../styles/variables.scss';

.timing-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 156rpx;
  width: 100%;
  border-radius: $border-radius-small;
  background: $white;
  border: $border-width solid $border-color;
  margin-bottom: 26rpx;
  
  // 完成状态的样式
  &.completed {
    .timing-item-title {
      text-decoration: line-through;
      color: #999;
    }
  }
  
  &-left {
    display: flex;
    align-items: center;
    height: 156rpx;
  }
  
  &-type-bar {
    width: 28rpx;
    height: 156rpx;
    border-radius: $border-radius-small;
    border-right: $border-width solid $border-color;
    border-top: $border-width solid $border-color;
    border-bottom: $border-width solid $border-color;
    
    &.first {
      background: $timing-first-bg;
    }
    
    &.second {
      background: $timing-second-bg;
    }
    
    &.third {
      background: $timing-third-bg;
    }
    
    &.forth {
      background: $timing-forth-bg;
    }
  }
  
  &-content {
    margin-left: 28rpx;
  }
  
  &-title {
    font-size: 32rpx;
    font-weight: 400;
  }
  
  &-time {
    margin-top: 8rpx;
    font-size: 28rpx;
    font-weight: 400;
  }
  
  &-status {
    margin-right: 32rpx;
    cursor: pointer;
    
    &-circle {
      width: 40rpx;
      height: 40rpx;
      border-radius: 100%;
      border: 2px solid rgba(0, 0, 0, 1);
    }
    
    &.completed .timing-item-status-circle {
      background: rgba(0, 0, 0, 1);
    }
  }
}